<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" href="__PUBLIC__/css/inc.css" />
	<title>添加栏目</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}">栏目管理</a>
		<a href="{|U:'add'}">添加栏目</a>
		<a href="{|U:'updateCache'}">更新缓存</a>
		<a class="act">修改栏目</a>
	</div>
	<form method="post">
		<div class="p10">
			<table class="form table">
				<tr>
					<th colspan='2'>添加栏目</th>
				</tr>
				<tr>
					<td class="tr f14 fm pct25"><span class="pr10">栏目名称</span></td>
					<td><input name='cname' type="text" class='ml10 pct60' value='{$field.cname}' /></td>
				</tr>
				<tr>
					<td class="tr f14 fm pct25"><span class="pr10">栏目</span></td>
					<td>
						<select name="pid" id="" class='ml10'>
							<option value="0">顶级栏目</option>
							<list from='$category' name='c'>
								<option class='{$c.disabled}' value="{$c.cid}" {$c.disabled} {$c.selected}>{$c._name}</option>
							</list>
						</select>
					</td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">关键字</span></td>
					<td><textarea class='ml10 pct70' name="keywords" id="" cols="30" rows="2">{$field.keywords}</textarea></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">栏目描述</span></td>
					<td><textarea class='ml10 pct70' name="description" id="" cols="30" rows="3">{$field.description}</textarea></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">栏目类型</span></td>
					<td>
						<label for="c1" class='ml10'>
							<input type="radio" value='2' name='cate_type' id='c1' <if value='{$field.cate_type} eq 2'>checked=''</if> /> 普通栏目	
						</label>
						<label for="c2" class='ml10'>
							<input type="radio" value='1' name='cate_type' id='c2' <if value='{$field.cate_type} eq 1'>checked=''</if> /> 封面栏目 
						</label>
					</td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">单位</span></td>
					<td><input name='unit' type="text" class='ml10 pct5' value='{$field.unit}' /> <span class="ml5 gray">元/辆/个等</span></td>
				</tr>
				<tr>
					<td class="tr f14 fm"><span class="pr10">价格区间</span></td>
					<td><input name='price_ange' type="text" class='ml10 pct5' value='{$field.price_ange}' /></td>
				</tr>
			</table>
			<input name='cid' type="hidden" value='{$field.cid}' />
		</div>
		<div class="fixed b0 f16 fm pct100 btc bgwhite-3 p2">
			<p class="p5 tc"><input type="submit" class="btn bggreen1" value='确定操作' /></p>
		</div>
	</form>
</body>
</html>